<?php
class MenuController extends MA_Controller_Action
{
	public function topAction()
	{
		//Zend_Debug::dump( $this->_user );exit;
		if( $this->_user->userId != 0 ) {
			$items = $this->_config->menu->login;	
		} else {
			
			$items = $this->_config->menu->logout;
		}
		$this->view->menuItems = $items;
		
	}	
}
